Skip to main content

Interface: AudioGraph

Properties

context

Readonly context: AudioContext


inits

Readonly inits: AudioNodeInit<AudioNode, BaseAudioNode>[]


state

Readonly state: AudioGraphState

Methods

addWorklet

addWorklet(moduleURL, options?): Promise<void>

Parameters

NameType
moduleURLstring
options?WorkletOptions

Returns

Promise<void>


connect

connect(sequence): void

Parameters

NameType
sequenceAudioNodeInitConnection

Returns

void


disconnect

disconnect(sequence): void

Parameters

NameType
sequenceAudioNodeInitConnection

Returns

void


release

release(): Promise<void>

Returns

Promise<void>


releaseInit

releaseInit(init): void

Parameters

NameType
initAudioNodeInit<AudioNode, BaseAudioNode>

Returns

void